﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lwm.x10c.Intermediate.Instructions
{
    public class JumpInsn : Instruction
    {
        public override string NiceName { get { return "Jump"; } }
        public override string DumpName { get { return "jmp"; } }

        public LabelInsn Target { get; set; }

        public override void Dump(StringBuilder sb)
        {
            sb.Append(this.DumpName + " " + this.Target.Name);
        }
    }
}
